package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/12.
 */

public interface ChangeWithdrawPasswordRequest {
    @POST("change_withdraw_password")
    @FormUrlEncoded
    Observable<BaseModel<Object>> getResult(@Query("token") String token,
                                            @Field("withdraw_realname") String withdraw_realname,
                                            @Field("new_password") String new_password,
                                            @Field("comfirm_password") String comfirm_password,
                                            @Field("password") String password,
                                            @Field("captcha") String captcha
    );
}
